<template>
  <el-container>
    <el-main>
      <el-form :model="modal.params.detail" label-position="left" label-width="100px">
        <el-form-item label="标题"> 内容 </el-form-item>
        <el-form-item label="ID">
          {{ modal.params.detail.id }}
        </el-form-item>
        <el-form-item label="管理员昵称">
          {{ modal.params.detail.nickname }}
        </el-form-item>
        <el-form-item label="链接">
          {{ modal.params.detail.url }}
        </el-form-item>
        <el-form-item label="描述">
          {{ modal.params.detail.description }}
        </el-form-item>
        <el-form-item label="操作内容">
          {{ modal.params.detail.params }}
        </el-form-item>
        <el-form-item label="IP">
          {{ modal.params.detail.ip }}
        </el-form-item>
        <el-form-item label="user agent">
          {{ modal.params.detail.useragent }}
        </el-form-item>
        <el-form-item label="创建时间">
          {{ modal.params.detail.create_time }}
        </el-form-item>
      </el-form>
    </el-main>
  </el-container>
</template>

<script setup>
  const props = defineProps(['modal']);
</script>
